package com.library.forms;
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.


/**
 *
 * @author mAbraha
 */
public class Publication {
    private String title;
    private String date;
    private String pubCompany;
    private String Author;

    public String getAuthor() {
        return Author;
    }

    public void setAuthor(String Author) {
        this.Author = Author;
    }
    private int numberofCopies;

    public Publication(String title, String date, String pubCompany,int nCopy,String Author) {
        this.title = title;
        this.date = date;
        this.pubCompany = pubCompany;
        this.numberofCopies=nCopy;
        this.Author=Author;
    }

    public int getNumberofCopies() {
        return numberofCopies;
    }

    public void setNumberofCopies(int numberofCopies) {
        this.numberofCopies = numberofCopies;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getPubCompany() {
        return pubCompany;
    }

    public void setPubCompany(String pubCompany) {
        this.pubCompany = pubCompany;
    }
   public  void print()
   {
   System.out.println("Publication");
   }
    
}
